﻿using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WebsiteClient.Controllers;
using WebsiteClient.Models;

namespace TestProject
{
    /// <summary>
    /// Summary description for GetEventById
    /// </summary>
    [TestClass]
    public class GetEventById
    {

        [TestMethod]
        public void GetEventsById()
        {
            EventController eventCtrl = new EventController();
            string id = "ea3ba22a-5772-4778-a5c9-75c270e9dcad";

            List<Event> eventList = new List<Event>();
            eventList = eventCtrl.GetEventsById(id);

            if (eventList != null)
            {
                Assert.IsTrue(true);
            }
            else
            {
                Assert.Fail("Nej");
            }
        }
    }
}
